ThrowException Method (String)

CuttingEdge.Conditions

Throws an exception.

Namespace:  CuttingEdge.Conditions
Assembly:  CuttingEdge.Conditions (in CuttingEdge.Conditions.dll)

Syntax

Visual Basic (Declaration)
Public Sub ThrowException ( _
	condition As String _
)
C#
public void ThrowException(
	string condition
)
Visual C++
public:
void ThrowException(
	String^ condition
)
JavaScript
function throwException(condition);

Parameters

condition
Type: System..::.String
Describes the condition that doesn't hold, e.g., "Value should not be null".

See Also